<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>修改页面</title>
    
        <meta name="description" content="Dashboard">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <!--Basic Styles-->
        <link href="__ASTYLE__/bootstrap.css" rel="stylesheet">
        <link href="__ASTYLE__/font-awesome.css" rel="stylesheet">
        <link href="__ASTYLE__/weather-icons.css" rel="stylesheet">
    
        <!--Beyond styles-->
        <link id="beyond-link" href="__ASTYLE__/beyond.css" rel="stylesheet" type="text/css">
        <link href="__ASTYLE__/demo.css" rel="stylesheet">
        <link href="__ASTYLE__/typicons.css" rel="stylesheet">
        <link href="__ASTYLE__/animate.css" rel="stylesheet">
        
    </head>
    <body>
        <!-- 头部 -->
        {include file="common/top" /} 
        <!-- /头部 -->
    
        <div class="main-container container-fluid">
            <div class="page-container">
                <!-- Page Sidebar -->
                {include file="common/left" /} 
                <!-- /Page Sidebar -->
                <!-- Page Content -->
                <div class="page-content">
                    <!-- Page Breadcrumb -->
                    <div class="page-breadcrumbs">
                            <ul class="breadcrumb">
                                <li><a href="<{:url('index/index')}>">论坛系统</a> </li>
                                <li><a href="<{:url('note/index')}>">公告管理</a></li>
                                <li class="active">编辑公告</li>
                            </ul>
                        </div>
                    <!-- /Page Breadcrumb -->
                    
                        <div class="row">
                            <div class="col-lg-12 col-sm-12 col-xs-12">
                                <div class="widget">
                                    <div class="widget-header bordered-bottom bordered-blue">
                                        <span class="widget-caption">修改公告</span>
                                    </div>
                                    <div class="widget-body">
                                        <div id="horizontal-form">
                                            <form class="form-horizontal" role="form" action="" enctype="multipart/form-data" method="post">
                                                <input type="hidden" name="id" value="<{$list.id}>">
                                                <div class="form-group">
                                                    <label for="username" class="col-sm-2 control-label no-padding-right">公告标题</label>
                                                    <div class="col-sm-6">
                                                        <input class="form-control" id="title" placeholder="" name="title" value="<{$list.title}>"  type="text">
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label for="group_id" class="col-sm-2 control-label no-padding-right">公告内容</label>
                                                    <div class="col-sm-6">
                                                         <label>
                                                            <textarea name="content"  id="content"><{$list.content}></textarea value="">
                                                         </label>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label for="username" class="col-sm-2 control-label no-padding-right">缩略图</label>
                                                    <div class="col-sm-6">
                                                        <input style="float:left;"  name="pic" type="file">
                                                        {if condition="$list['pic'] neq ''"}
                                                        <img style="float:left;" src="<{$list.pic}>" width="30">
                                                        {else /}
                                                        暂无缩略图
                                                        {/if}
                                                    </div>
                                                </div>
                                                 <div class="form-group">
                                                    <div class="col-sm-offset-2 col-sm-10">
                                                        <button type="submit" class="btn btn-success">保存信息</button>
                                                    </div>
                                                </div>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                    <!-- /Page Body -->
                </div>
                <!-- /Page Content -->
            </div>  
        </div>

       <!--引入外部文件-->
        <script src="__ASTYLE__/jquery_002.js"></script>
        <script src="__ASTYLE__/bootstrap.js"></script>
        <script src="__ASTYLE__/jquery.js"></script>
        <script src="__ASTYLE__/beyond.js"></script>
        <script src="__UEDIT__/ueditor.config.js"></script>
        <script src="__UEDIT__/ueditor.all.min.js"></script>
        <script src="__UEDIT__/lang/zh-cn/zh-cn.js"></script>
        <script type="text/javascript">
        UE.getEditor('content',{initialFrameWidth:800,initialFrameHeight:400,});
        </script>
    </body>
</html>